package com.neutech.dao;

import com.neutech.entity.Business;
import com.neutech.entity.Food;

import java.util.List;

public interface BusinessDAO {

    //查询所有商家的抽象方法
    List<Business> selectAll();


    //通过商家名判断是否重复抽象方法
    Business selectBusinessName(String businessName);

    //执行添加商家的抽象方法
    int add(Business business);

    //执行删除商家的抽象方法
    int delete(Business business);


}
